package com.hu.hutool.eMail;

import cn.hutool.core.io.FileUtil;
import cn.hutool.extra.mail.MailUtil;

/**
 * @Author CazCen
 * @Date 2021/11/17 22:24
 */
public class MailUtilTest {

    public static void sendToOne(String str) {
//        MailUtil.send("cazcen@163.com", "测试标题", str, false);
        MailUtil.send("cazcen@163.com", "测试标题", str, false, FileUtil.file("d:/qrcode2.jpg"));
    }

}
